#include "Professor.h"

Professor::Professor(int x, int y, string fileName) : GameObject(x, y, fileName)
{
    this->x = x;
    this->y = y;
    direction = 0;
    counter = new TimeCounter();
    counter->Start();
}

int Professor::Update(int dt)
{
    return 0;
}

bool Professor::inRange(int ax, int ay)
{
    SDL_Rect r = animation[0]->GetRect();
    if (((x - 68) < ax) && (x+25+68 > ax)){
        if(((y - 68) < ay) && (y+25+68 > ay)){
            return true;
        }
    }
    return false;
}


//TESTE DO SVN!!!!! MARCELA
